package com.cangxuan.backend.entity;

import lombok.Data;
import java.io.Serializable;

/**
 * 用户藏品实体类
 */
@Data
public class UserGoods implements Serializable {

    private Integer id;
    private Integer userId;
    private Integer goodsId;
    private Integer registrationId;
    private Integer count;

    private String name;        //藏品名称
    private String code;        //藏品编号
    private String image;       //藏品图片

    public UserGoods() {
    }

    public UserGoods(Integer userId, Integer goodsId, Integer registrationId, Integer count) {
        this.userId = userId;
        this.goodsId = goodsId;
        this.registrationId = registrationId;
        this.count = count;
    }
}
